

//
//  InternationalCell.m
//  ZQLearn
//
//  Created by macfeel on 2019/4/29.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import "InternationalCell.h"

@implementation InternationalCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = 0;
    // Initialization code
}

- (void)setCellWithModel:(NewsModel *)model{
    [self.headImg sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kPicServerUrl,model.photo]] placeholderImage:nil];
    self.titleLab.text = model.title;
    self.timeLab.text = model.updateTime;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
